package com.elm.service;

import com.elm.entity.DeliveryAddress;

import java.sql.SQLException;
import java.util.List;

public interface DeliveryAddressService {
    int saveAddress(DeliveryAddress deliveryAddress) throws SQLException;

    int updateAddress(DeliveryAddress deliveryAddress) throws SQLException;

    int deleteAddress(int daId);

    DeliveryAddress getAddressById(int daId);

    List<DeliveryAddress> getAddressList(String userId);
}
